ActiveReports 12
CopyTo Method (TablixItems<T>)

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > TablixItems<T> Class : CopyTo Method
The one-dimensional System.Array that is the destination of the elements copied from Collection. The System.Array must have zero-based indexing.
The zero-based index in array at which copying begins.
Copies the entire Collection to a compatible one-dimensional System.Array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Sub CopyTo( _
   ByVal array() As T, _
   ByVal index As Integer _
) 
public void CopyTo( 
   T[] array,
   int index
)

Parameters

array
The one-dimensional System.Array that is the destination of the elements copied from Collection. The System.Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.
Exceptions
ExceptionDescription
array is null.
index is less than zero.
The number of elements in the source Collection is greater than the available space from index to the end of the destination array.
See Also

Reference

TablixItems<T> Class
TablixItems<T> Members